package xyz.fefine;

/**
 * Created by feng_ on 2016/8/31.
 */
public class StoneException extends RuntimeException {

    public StoneException(String m){
        super(m);
//        ASTree
    }

    public StoneException(String m, Token token) {
        super(m + " error in "+token.getLineNumber());
    }

    public StoneException(String m, ASTree asTree) {
        super(m+" "+asTree);
    }

}
